package cn.project.lemontree.service.impl;

import cn.project.lemontree.bean.Log;
import cn.project.lemontree.service.LogService;
import cn.project.lemontree.dao.LogDao;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service("logService")
public class LogServiceimpl extends ServiceImpl<LogDao, Log> implements LogService {
    @Resource
    private LogDao logDao;

    @Override
    public boolean save(Log log){
        return logDao.save(log) > 0;
    }
}
